#ifndef __BUOLA_GUI_AUTO_FUNCTIONS_H__
#define __BUOLA_GUI_AUTO_FUNCTIONS_H__

namespace buola { namespace gui {

///\addtogroup gui
///@{

//!sets the default theme
void set_default_theme(CTheme *pTheme);

//!returns the default theme
CTheme *get_default_theme();

//!returns the toolkit in use
CToolkit *get_toolkit();

///returns the window manager
CWindowManager &window_manager();

//!sets the main window for the application
void set_main_window(const PWindow &pWindow);

//!gets (one of) the main window(s) of the application
PWindow get_main_window();

//!gets all the main window(s) of the application
void get_main_windows(std::vector<PWindow> &pWindows);

//!closes all main windows
bool close_all_main_windows(bool pForce=false);

//!returns a finder object to find dialog resources
io::CResourceFinder &dialog_finder();

///@}

/*namespace gui*/ } /*namespace buola*/ }

#endif